const log = require('electron-log')

// 创建日志服务
export const logger = {
    info: (message) => {
        log.info(message)
    },

    warn: (message) => {
        log.warn(message)
    },

    error: (message) => {
        log.error(message)
    },
    system: (message) => {
        log.info(`[SYSTEM] ${message}`);
    },
    device: (message) => {
        log.info(`[DEVICE] ${message}`);
    }
};
